package ru.mcfr.oxygen.plugin.workspace;

import org.apache.log4j.Logger;
import ro.sync.exml.plugin.Plugin;
import ro.sync.exml.plugin.PluginDescriptor;

public class WorkspaceAccessPlugin extends Plugin {

    private static WorkspaceAccessPlugin instance = null;

    protected static final Logger logger = Logger.getLogger(WorkspaceAccessPlugin.class);

    public WorkspaceAccessPlugin(PluginDescriptor descriptor) {
        super(descriptor);

        if (instance != null) {
            throw new IllegalStateException("Already instantiated!");
        }

        instance = this;

    }

    public static WorkspaceAccessPlugin getInstance() {
        return instance;
    }
}